package com.dxy.yesas2020goals.study.partone.disignpattern.reposibilitypattern.simple;

/**
 * @author victorydeng
 * @Classname Handler
 * @Description TODO
 * @Date 2020/5/13 9:24
 * @Created by victorydeng
 */
public abstract class Handler {

    protected  Handler next;

    abstract void doHandler(Member member);

    //维护下一个节点
    public void setNext(Handler next) {
        this.next = next;
    }
}
